/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

/**
 *
 * @author rzclau
 */
public class KostumBean {
    
    private String ID_Kostum;
    private String NamaKostum;
    private String Harga;
    private String Kategori;
    private String Gambar;
    private String Save;
    
    //for validation error messages
    private String ID_KostumError;
    private String NamaKostumError;
    private String HargaError;
    private String KategoriError;
    private String GambarError;
    private boolean isValid;
    //this is for action means edit or submit or delete or update
    private String Simpan;
    
    //construtor.it is invoked when we run jsp page.
    //so first time no values will display in jsp page

    public KostumBean() {
        ID_Kostum ="";
        NamaKostum ="";
        Harga ="";
        Kategori ="";
        Gambar ="";
        
        ID_KostumError = "";
        NamaKostumError = "";
        HargaError = "";
        KategoriError = "";
        GambarError = "";
        
        Simpan = "Simpan";
    }
public boolean getIsValid() {
        return isValid;
    }

    public void setIsValid(boolean isValid) {
        this.isValid = isValid;
    }
    /**
     * @return the ID_Kostum
     */
    
    public String getID_Kostum() {
        return ID_Kostum;
    }

    /**
     * @param ID_Kostum the ID_Kostum to set
     */
    public void setID_Kostum(String ID_Kostum) {
        this.ID_Kostum = ID_Kostum;
    }

    /**
     * @return the NamaKostum
     */
    public String getNamaKostum() {
        return NamaKostum;
    }

    /**
     * @param NamaKostum the NamaKostum to set
     */
    public void setNamaKostum(String NamaKostum) {
        this.NamaKostum = NamaKostum;
    }

    /**
     * @return the Harga
     */
    public String getHarga() {
        return Harga;
    }

    /**
     * @param Harga the Harga to set
     */
    public void setHarga(String Harga) {
        this.Harga = Harga;
    }

    /**
     * @return the Kategori
     */
    public String getKategori() {
        return Kategori;
    }

    /**
     * @param Kategori the Kategori to set
     */
    public void setKategori(String Kategori) {
        this.Kategori = Kategori;
    }

    /**
     * @return the Gambar
     */
    public String getGambar() {
        return Gambar;
    }

    /**
     * @param Gambar the Gambar to set
     */
    public void setGambar(String Gambar) {
        this.Gambar = Gambar;
    }

    /**
     * @return the Save
     */
    public String getSave() {
        return Save;
    }

    /**
     * @param Save the Save to set
     */
    public void setSave(String Save) {
        this.Save = Save;
    }

    /**
     * @return the ID_KostumError
     */
    public String getID_KostumError() {
        return ID_KostumError;
    }

    /**
     * @param ID_KostumError the ID_KostumError to set
     */
    public void setID_KostumError(String ID_KostumError) {
        this.ID_KostumError = ID_KostumError;
    }

    /**
     * @return the NamaKostumError
     */
    public String getNamaKostumError() {
        return NamaKostumError;
    }

    /**
     * @param NamaKostumError the NamaKostumError to set
     */
    public void setNamaKostumError(String NamaKostumError) {
        this.NamaKostumError = NamaKostumError;
    }

    /**
     * @return the HargaError
     */
    public String getHargaError() {
        return HargaError;
    }

    /**
     * @param HargaError the HargaError to set
     */
    public void setHargaError(String HargaError) {
        this.HargaError = HargaError;
    }

    /**
     * @return the KategoriError
     */
    public String getKategoriError() {
        return KategoriError;
    }

    /**
     * @param KategoriError the KategoriError to set
     */
    public void setKategoriError(String KategoriError) {
        this.KategoriError = KategoriError;
    }

    /**
     * @return the GambarError
     */
    public String getGambarError() {
        return GambarError;
    }

    /**
     * @param GambarError the GambarError to set
     */
    public void setGambarError(String GambarError) {
        this.GambarError = GambarError;
    }

    /**
     * @return the Simpan
     */
    public String getSimpan() {
        return Simpan;
    }

    /**
     * @param Simpan the Simpan to set
     */
    public void setSimpan(String Simpan) {
        this.Simpan = Simpan;
    }

}